package cn.wolfcode.p2p.business.mapper;

import cn.wolfcode.p2p.business.domain.PaymentScheduleDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PaymentScheduleDetailMapper {
    int deleteByPrimaryKey(Long id);

    int insert(PaymentScheduleDetail record);

    PaymentScheduleDetail selectByPrimaryKey(Long id);

    List<PaymentScheduleDetail> selectAll();

    int updateByPrimaryKey(PaymentScheduleDetail record);
    List<PaymentScheduleDetail> selectByPsId (Long id);

        void batchUpdateTransferState(@Param("bidIds") Long[] bidIds, @Param("tansferState") int tansferState);

    void changeTransferFrom(@Param("bidId") Long bidId, @Param("toLogininfoId") Long toLogininfoId);
}